
require('../css/common/normalize.css')
require('../css/common/reset.css')
require('../css/common/property.css')
require('../css/common/basic.less')
require('../lib/fonts/iconfont.css')

require('../css/timeDown.less') 

/* 
    倒计时
*/

const num=document.querySelector('span')

function setTime(){

    let time=3
   let numTime= setInterval(function(){
        --time
        if(time==0){
            num.textContent='GO'
        }else if(time==-1){
            num.textContent=''
            location.href='./motion-outDoor.html'
            clearInterval(numTime)

        }else{
            num.textContent=time
            
        }
        
    },1000)

}
setTime()
